|
In mathematical logic and computer science, the μ-recursive functions are a class of partial functions from natural numbers to natural numbers that are "computable" in an intuitive sense. In fact, in computability theory it is shown that the μ-recursive functions are precisely the functions that can be computed by Turing machines. The μ-recursive functions are closely related to primitive recursive functions, and their inductive definition (below) builds upon that of the primitive recursive functions. However, not every μ-recursive function is a primitive recursive function—the most famous example is the Ackermann function. Other equivalent classes of functions are the λ-recursive functions and the functions that can be computed by Markov algorithms. The set of all recursive functions is known as R in computational complexity theory. ==Definition== The μ-recursive functions (or partial μ-recursive functions) are partial functions that take finite tuples of natural numbers and return a single natural number. They are the smallest class of partial functions that includes the initial functions and is closed under composition, primitive recursion, and the μ operator. The smallest class of functions including the initial functions and closed under composition and primitive recursion (i.e. without minimisation) is the class of primitive recursive functions. While all primitive recursive functions are total, this is not true of partial recursive functions; for example, the minimisation of the successor function is undefined. The primitive recursive functions are a subset of the total recursive functions, which are a subset of the partial recursive functions. For example, the Ackermann function can be proven to be total recursive, but not primitive. Initial or "basic" functions: (In the following the subscripting is per Kleene (1952) p. 219. For more about some of the various symbolisms found in the literature see Symbolism below.) #Constant function: For each natural number and every : #:. #:Alternative definitions use compositions of the successor function and use a zero function, that always returns zero, in place of the constant function. # Successor function S: #: # Projection function (also called the Identity function ): For all natural numbers such that : #: . Operators: # Composition operator (also called the substitution operator): Given an m-ary function and m k-ary functions : #:. # Primitive recursion operator : Given the k-ary function and k+2 -ary function : #: . #Minimisation operator : Given a (k+1)-ary total function : #: #:Intuitively, minimisation seeks—beginning the search from 0 and proceeding upwards—the smallest argument that causes the function to return zero; if there is no such argument, the search never terminates. The strong equality operator can be used to compare partial μ-recursive functions. This is defined for all partial functions ''f'' and ''g'' so that : holds if and only if for any choice of arguments either both functions are defined and their values are equal or both functions are undefined. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Μ-recursive function」の詳細全文を読む スポンサード リンク
|